﻿using System;

namespace RandomScaling
{
    class Program
    {
        static void Main(string[] args)
        {
            Random random = new Random();
            double min = 2.2;
            double max = 7.5;
            double scale = 1000;

            int n = random.Next((int)(min * scale), (int)((max + 1) * scale));
            double x = n / scale;

            Console.WriteLine(n);
            Console.WriteLine(x);

            Console.ReadKey();
        }
    }
}
